# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created: Sat Dec 10 13:48:40 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(998, 710)
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Date Notifier v1.0", None, QtGui.QApplication.UnicodeUTF8))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/umbrella.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.streamTab = QtGui.QWidget()
        self.streamTab.setObjectName(_fromUtf8("streamTab"))
        self.gridLayout_4 = QtGui.QGridLayout(self.streamTab)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.streamFilter = QtGui.QComboBox(self.streamTab)
        self.streamFilter.setMinimumSize(QtCore.QSize(200, 0))
        self.streamFilter.setObjectName(_fromUtf8("streamFilter"))
        self.gridLayout_4.addWidget(self.streamFilter, 0, 2, 1, 1)
        self.label_2 = QtGui.QLabel(self.streamTab)
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Filter:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_4.addWidget(self.label_2, 0, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem, 0, 3, 1, 1)
        self.stream = QtGui.QTableWidget(self.streamTab)
        self.stream.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.stream.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.stream.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.stream.setGridStyle(QtCore.Qt.DotLine)
        self.stream.setColumnCount(3)
        self.stream.setObjectName(_fromUtf8("stream"))
        self.stream.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Left", None, QtGui.QApplication.UnicodeUTF8))
        self.stream.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Date", None, QtGui.QApplication.UnicodeUTF8))
        self.stream.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.stream.setHorizontalHeaderItem(2, item)
        self.gridLayout_4.addWidget(self.stream, 1, 0, 1, 4)
        self.tabWidget.addTab(self.streamTab, _fromUtf8(""))
        self.calendarTab = QtGui.QWidget()
        self.calendarTab.setObjectName(_fromUtf8("calendarTab"))
        self.gridLayout_5 = QtGui.QGridLayout(self.calendarTab)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.calendar = QtGui.QTableWidget(self.calendarTab)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Comic Sans MS"))
        font.setPointSize(11)
        self.calendar.setFont(font)
        self.calendar.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.calendar.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.calendar.setGridStyle(QtCore.Qt.DotLine)
        self.calendar.setObjectName(_fromUtf8("calendar"))
        self.calendar.setColumnCount(0)
        self.calendar.setRowCount(0)
        self.gridLayout_5.addWidget(self.calendar, 1, 0, 2, 5)
        self.calendarFilter = QtGui.QComboBox(self.calendarTab)
        self.calendarFilter.setMinimumSize(QtCore.QSize(200, 0))
        self.calendarFilter.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.calendarFilter.setObjectName(_fromUtf8("calendarFilter"))
        self.gridLayout_5.addWidget(self.calendarFilter, 0, 2, 1, 2)
        self.label = QtGui.QLabel(self.calendarTab)
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Filter:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_5.addWidget(self.label, 0, 0, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 0, 4, 1, 1)
        self.tabWidget.addTab(self.calendarTab, _fromUtf8(""))
        self.notificationsTab = QtGui.QWidget()
        self.notificationsTab.setObjectName(_fromUtf8("notificationsTab"))
        self.gridLayout_6 = QtGui.QGridLayout(self.notificationsTab)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.label_3 = QtGui.QLabel(self.notificationsTab)
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Notify at (hours o\'clock):", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_6.addWidget(self.label_3, 0, 0, 1, 1)
        self.notifyAt = QtGui.QLineEdit(self.notificationsTab)
        self.notifyAt.setMinimumSize(QtCore.QSize(150, 0))
        self.notifyAt.setMaximumSize(QtCore.QSize(150, 16777215))
        self.notifyAt.setText(QtGui.QApplication.translate("MainWindow", "12", None, QtGui.QApplication.UnicodeUTF8))
        self.notifyAt.setObjectName(_fromUtf8("notifyAt"))
        self.gridLayout_6.addWidget(self.notifyAt, 0, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(673, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_6.addItem(spacerItem2, 0, 2, 1, 1)
        self.notificationsArea = QtGui.QScrollArea(self.notificationsTab)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(250, 250, 250))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(250, 250, 250))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(250, 250, 250))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(250, 250, 250))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.notificationsArea.setPalette(palette)
        self.notificationsArea.setWidgetResizable(True)
        self.notificationsArea.setObjectName(_fromUtf8("notificationsArea"))
        self.notificationsWidget = QtGui.QWidget()
        self.notificationsWidget.setGeometry(QtCore.QRect(0, 0, 954, 573))
        self.notificationsWidget.setObjectName(_fromUtf8("notificationsWidget"))
        self.gridLayout_8 = QtGui.QGridLayout(self.notificationsWidget)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.notifications = QtGui.QVBoxLayout()
        self.notifications.setObjectName(_fromUtf8("notifications"))
        self.gridLayout_8.addLayout(self.notifications, 0, 0, 1, 1)
        self.notificationsArea.setWidget(self.notificationsWidget)
        self.gridLayout_6.addWidget(self.notificationsArea, 1, 0, 1, 3)
        self.tabWidget.addTab(self.notificationsTab, _fromUtf8(""))
        self.editTab = QtGui.QWidget()
        self.editTab.setObjectName(_fromUtf8("editTab"))
        self.gridLayout_3 = QtGui.QGridLayout(self.editTab)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.add = QtGui.QPushButton(self.editTab)
        self.add.setMinimumSize(QtCore.QSize(100, 0))
        self.add.setText(QtGui.QApplication.translate("MainWindow", " &Add", None, QtGui.QApplication.UnicodeUTF8))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/Apply SH.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.add.setIcon(icon1)
        self.add.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+A", None, QtGui.QApplication.UnicodeUTF8))
        self.add.setObjectName(_fromUtf8("add"))
        self.gridLayout_2.addWidget(self.add, 0, 1, 1, 1)
        self.edit = QtGui.QPushButton(self.editTab)
        self.edit.setMinimumSize(QtCore.QSize(100, 0))
        self.edit.setText(QtGui.QApplication.translate("MainWindow", " &Edit", None, QtGui.QApplication.UnicodeUTF8))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/Preview.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.edit.setIcon(icon2)
        self.edit.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+E", None, QtGui.QApplication.UnicodeUTF8))
        self.edit.setObjectName(_fromUtf8("edit"))
        self.gridLayout_2.addWidget(self.edit, 1, 1, 1, 1)
        self.remove = QtGui.QPushButton(self.editTab)
        self.remove.setMinimumSize(QtCore.QSize(100, 0))
        self.remove.setText(QtGui.QApplication.translate("MainWindow", " &Delete", None, QtGui.QApplication.UnicodeUTF8))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/Burn dustbin.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.remove.setIcon(icon3)
        self.remove.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+D", None, QtGui.QApplication.UnicodeUTF8))
        self.remove.setObjectName(_fromUtf8("remove"))
        self.gridLayout_2.addWidget(self.remove, 2, 1, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(72, 98, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem3, 3, 1, 1, 1)
        self.birthdayList = QtGui.QTreeWidget(self.editTab)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        font.setPointSize(10)
        self.birthdayList.setFont(font)
        self.birthdayList.setIconSize(QtCore.QSize(16, 16))
        self.birthdayList.setColumnCount(3)
        self.birthdayList.setObjectName(_fromUtf8("birthdayList"))
        self.birthdayList.headerItem().setText(0, QtGui.QApplication.translate("MainWindow", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.birthdayList.headerItem().setText(1, QtGui.QApplication.translate("MainWindow", "Date", None, QtGui.QApplication.UnicodeUTF8))
        self.birthdayList.headerItem().setText(2, QtGui.QApplication.translate("MainWindow", "Tags", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout_2.addWidget(self.birthdayList, 0, 0, 5, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 0, 0, 1, 1)
        self.tabWidget.addTab(self.editTab, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 998, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionExit = QtGui.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/Undo.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon4)
        self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "E&xit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        self.actionShow = QtGui.QAction(MainWindow)
        self.actionShow.setIcon(icon1)
        self.actionShow.setText(QtGui.QApplication.translate("MainWindow", "&Show", None, QtGui.QApplication.UnicodeUTF8))
        self.actionShow.setObjectName(_fromUtf8("actionShow"))
        self.actionHide = QtGui.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/Get message SH.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionHide.setIcon(icon5)
        self.actionHide.setText(QtGui.QApplication.translate("MainWindow", "&Hide", None, QtGui.QApplication.UnicodeUTF8))
        self.actionHide.setObjectName(_fromUtf8("actionHide"))

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.add, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.addBirthday)
        QtCore.QObject.connect(self.edit, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.editBirthday)
        QtCore.QObject.connect(self.remove, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.removeBirthday)
        QtCore.QObject.connect(self.birthdayList, QtCore.SIGNAL(_fromUtf8("itemDoubleClicked(QTreeWidgetItem*,int)")), MainWindow.editBirthday)
        QtCore.QObject.connect(self.tabWidget, QtCore.SIGNAL(_fromUtf8("currentChanged(int)")), MainWindow.onTabChanged)
        QtCore.QObject.connect(self.calendarFilter, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), MainWindow.onCalendarFilterChanged)
        QtCore.QObject.connect(self.streamFilter, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), MainWindow.onStreamFilterChanged)
        QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.quit)
        QtCore.QObject.connect(self.actionShow, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.showNormal)
        QtCore.QObject.connect(self.actionHide, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.hide)
        QtCore.QObject.connect(self.notifyAt, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), MainWindow.onNotifyAtChanged)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        item = self.stream.horizontalHeaderItem(0)
        item = self.stream.horizontalHeaderItem(1)
        item = self.stream.horizontalHeaderItem(2)
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.streamTab), QtGui.QApplication.translate("MainWindow", "Stream", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.calendarTab), QtGui.QApplication.translate("MainWindow", "Calendar", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.notificationsTab), QtGui.QApplication.translate("MainWindow", "Groups", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.editTab), QtGui.QApplication.translate("MainWindow", "Edit", None, QtGui.QApplication.UnicodeUTF8))

from . import resources_rc
